<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: ecdev.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ecdev_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ecdev.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT interface for EtherCAT device drivers.  
<a href="#details">More...</a></p>

<p><a href="ecdev_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ac0895793ea540357d225d4b8be71f2e4"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structec__device.html">ec_device</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a></td></tr>
<tr class="separator:ac0895793ea540357d225d4b8be71f2e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a789bcd88d869f88c58bd13b451b3fd52"><td class="memItemLeft" align="right" valign="top"><a id="a789bcd88d869f88c58bd13b451b3fd52"></a>
typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ecdev_8h.html#a789bcd88d869f88c58bd13b451b3fd52">ec_pollfunc_t</a>) (struct net_device *)</td></tr>
<tr class="memdesc:a789bcd88d869f88c58bd13b451b3fd52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device poll function type. <br /></td></tr>
<tr class="separator:a789bcd88d869f88c58bd13b451b3fd52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga522b0264934a68d51cc5b67f2c76ef30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#ga522b0264934a68d51cc5b67f2c76ef30">ecdev_offer</a> (struct net_device *net_dev, <a class="el" href="ecdev_8h.html#a789bcd88d869f88c58bd13b451b3fd52">ec_pollfunc_t</a> poll, struct module *module)</td></tr>
<tr class="memdesc:ga522b0264934a68d51cc5b67f2c76ef30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offers an EtherCAT device to a certain master.  <a href="group__DeviceInterface.html#ga522b0264934a68d51cc5b67f2c76ef30">More...</a><br /></td></tr>
<tr class="separator:ga522b0264934a68d51cc5b67f2c76ef30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3934f8a07aa394d558147d790fc60a8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#ga3934f8a07aa394d558147d790fc60a8b">ecdev_withdraw</a> (<a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device)</td></tr>
<tr class="memdesc:ga3934f8a07aa394d558147d790fc60a8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Withdraws an EtherCAT device from the master.  <a href="group__DeviceInterface.html#ga3934f8a07aa394d558147d790fc60a8b">More...</a><br /></td></tr>
<tr class="separator:ga3934f8a07aa394d558147d790fc60a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34eceaecfe6ab4fe8f0ecde1a3b311c4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#ga34eceaecfe6ab4fe8f0ecde1a3b311c4">ecdev_open</a> (<a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device)</td></tr>
<tr class="memdesc:ga34eceaecfe6ab4fe8f0ecde1a3b311c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens the network device and makes the master enter IDLE phase.  <a href="group__DeviceInterface.html#ga34eceaecfe6ab4fe8f0ecde1a3b311c4">More...</a><br /></td></tr>
<tr class="separator:ga34eceaecfe6ab4fe8f0ecde1a3b311c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a6b26b2397aa49cc82915a12b8cc854"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#ga0a6b26b2397aa49cc82915a12b8cc854">ecdev_close</a> (<a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device)</td></tr>
<tr class="memdesc:ga0a6b26b2397aa49cc82915a12b8cc854"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the master leave IDLE phase and closes the network device.  <a href="group__DeviceInterface.html#ga0a6b26b2397aa49cc82915a12b8cc854">More...</a><br /></td></tr>
<tr class="separator:ga0a6b26b2397aa49cc82915a12b8cc854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf02497a3d6bb0e43dcefc1802f8666a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#gaf02497a3d6bb0e43dcefc1802f8666a5">ecdev_receive</a> (<a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device, const void *data, size_t size)</td></tr>
<tr class="memdesc:gaf02497a3d6bb0e43dcefc1802f8666a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accepts a received frame.  <a href="group__DeviceInterface.html#gaf02497a3d6bb0e43dcefc1802f8666a5">More...</a><br /></td></tr>
<tr class="separator:gaf02497a3d6bb0e43dcefc1802f8666a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1d0e31b8b60ad4e94c03148aac88499"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#gac1d0e31b8b60ad4e94c03148aac88499">ecdev_set_link</a> (<a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device, uint8_t state)</td></tr>
<tr class="memdesc:gac1d0e31b8b60ad4e94c03148aac88499"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new link state.  <a href="group__DeviceInterface.html#gac1d0e31b8b60ad4e94c03148aac88499">More...</a><br /></td></tr>
<tr class="separator:gac1d0e31b8b60ad4e94c03148aac88499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa31bc8d955fea01e8430105c61064589"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__DeviceInterface.html#gaa31bc8d955fea01e8430105c61064589">ecdev_get_link</a> (const <a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a> *device)</td></tr>
<tr class="memdesc:gaa31bc8d955fea01e8430105c61064589"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the link state.  <a href="group__DeviceInterface.html#gaa31bc8d955fea01e8430105c61064589">More...</a><br /></td></tr>
<tr class="separator:gaa31bc8d955fea01e8430105c61064589"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT interface for EtherCAT device drivers. </p>

<p class="definition">Definition in file <a class="el" href="ecdev_8h_source.html">ecdev.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="ac0895793ea540357d225d4b8be71f2e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0895793ea540357d225d4b8be71f2e4">&#9670;&nbsp;</a></span>ec_device_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structec__device.html">ec_device</a> <a class="el" href="ecdev_8h.html#ac0895793ea540357d225d4b8be71f2e4">ec_device_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structec__device.html" title="EtherCAT device. ">ec_device</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="ecdev_8h_source.html#l00053">53</a> of file <a class="el" href="ecdev_8h_source.html">ecdev.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_07b86ffc266b39efa5bbdc0e9fdb330a.html">devices</a></li><li class="navelem"><a class="el" href="ecdev_8h.html">ecdev.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
